﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;


namespace EmailNotificationService
{
    static class Program
    {



        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// 
        static void Main()
        {
            Service1 serv1 = new Service1();
            serv1.startthis();
            
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
			    	new Service1()
			};
  
            ServiceBase.Run(ServicesToRun);
        }
    }
}
